package com.shiminghui.StringBuilder;

public class Demo4 {
    public static void main(String[] args) {
        StringBuilder sb =new StringBuilder();

        sb.append(12313);
        System.out.println(sb.capacity()+" "+sb.length());

        sb.append("32112313213123");
        System.out.println(sb.capacity()+" "+sb.length());

        sb.append("3211231231322312313213122313213123213231231321312231321312321313122313213123213123");
        System.out.println(sb.capacity()+" "+sb.length());

    }
}
